package com.matt.domain.course;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2018/11/12
 * *******************************
 */
@Entity
@Table(name = "prepare_template_3")
@Data
@EqualsAndHashCode(callSuper = true)
public class PrepareCourseTemplateAreaBuild extends Domain{

    @Column(columnDefinition = " text COMMENT '内容' ")
    private String content;

    @Column(name = "name", columnDefinition = "varchar(50) COMMENT '名称'")
    private String name;

    @Column(columnDefinition = "varchar(32) COMMENT '备课id'")
    private String prepareCourseId;
    
    @Column(columnDefinition = " int DEFAULT 0 COMMENT '开始月龄' ")
    private Integer beginMonth;
   
    @Column(columnDefinition = " int DEFAULT 0 COMMENT '结束月龄' ")
    private Integer endMonth;
    
    @Column(columnDefinition = "longtext comment '附件'")
    private String attachments;  
}
